﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="applicationform.aspx.cs" Inherits="Business_applicationform" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>教师项目申请表</title>
   <link rel="stylesheet" type="text/css" href="../js/themes/default/easyui.css" />
   <link rel="stylesheet" type="text/css" href="../js/themes/icon.css" /> 
  <link rel="stylesheet" type="text/css" href="../CSS/Style.css"/> 
	<script type="text/javascript" src="../js/jquery-1.4.2.min.js"></script>
	<script type="text/javascript" src="../js/jquery.easyui.min.js"></script>
	<script type="text/javascript">
	   	 $(document).ready(function() { reload();})
     function reload() {Sys.WebForms.PageRequestManager.getInstance().add_endRequest(EndRequestHandler);}
	 function EndRequestHandler() { 
	            $('#txtTID').validatebox();
	            $('#txtTName').validatebox(); 
	            $('#txtCellPhone').validatebox();
	            $('#txtTID').validatebox();
	            $('#txtTEmail').validatebox();}
	</script>
<style type="text/css"> 
body {
    font-size:0.8em;
    font-family:"微软雅黑";
  background-color: #fff;
  margin: 0;
  padding: 0;
}

body { 
  text-align: center; 
  width: 100%;
}
 
#wrapper { 
  padding: 20px;
  width: 95%; 
  margin: 0 auto; 
  text-align:center;
} 
#wrapper .header{
  margin-top:-45px;
  padding-left:60px;
  color:blue;
  text-align:left;
}
.news {
  background-color:Yellow;
  border: solid 1px #FF8C00;
	width: 350px;
	float:right;
}
.news p {
	width: 300px;
	margin: 0;
	padding: 10px 10px 10px 0;
}


</style>
<script type="text/javascript">
//$(document).ready(function(){alert(hello!)});
//function hidesearch(){
//if($("#radchoose_0").attr("checked")){
//     $("#hidearea").hide();
//     return;
//}
//else{
//   $("#hidearea").show();
//   return;
//   }
//}
function check()
{
if($("#txtPName").val()==""){
$("#txtPName").focus();
return false;
}
if($("#txtZCode").val()==""){
$("#txtZCode").focus();
return false;
}
if($("#txtTID").val()==""){
$("#txtTID").focus();
return false;
}
if($("#txtTName").val()==""){
$("#txtTName").focus();
return false;
}
if($("#txtCellPhone").val()==""){
$("#txtCellPhone").focus();
return false;
}
if($("#txtEmail").val()==""){
$("#txtEmail").focus();
return false;
}
return true;
}
function clearall()
{
$("input[type='text']").val("");
}
</script>
</head>
 
<body>
 <form runat="server" id="form1">
        <asp:ScriptManager ID="ScriptManager1" runat="server">
          </asp:ScriptManager> 
<div id="wrapper">
<%--标题--%>
    <div style="text-align:left;">
     <table cellpadding="0" cellspacing="0" style="width:100%">
             <tr><td style="width:60px;"><img alt="新建申报项目"  src="../Images/new_project.png" /></td>
             <td style="padding-left:10px;"><span style="color:#90d7ec; font-size:1.5em;">新建申报项目</span></td>
             <td style="text-align:right;"><a href="../Web/viewinfo.aspx" target="mainwin" /><img style="border:0;" src="../Images/GetBack.png" title="返回上级" alt="返回上级" /></td></tr>
             </table> 
     <%--   <img alt="新建申报项目"  src="../Images/Aplication_New.png"/>
        <a href="../Web/viewinfo.aspx" target="mainwin" style="float:right; margin-top:1em;"><img alt="返回" title="返回上级" src="../Images/GetBack.png" style="border:0;" /></a>
        <h2 class="header">新建申报项目</h2>--%>
        <hr />
    </div>
<%--   简介说明 --%>
    <div class="curvy" style="text-align:left; padding:0px;">
        <em class="ctl"><b>&bull;</b></em>
        <em class="cbl"><b>&bull;</b></em>
        <em class="ctr"><b>&bull;</b></em>
        <em class="cbr"><b>&bull;</b></em>
        <p>(1)评审方式现有三种：申报、申报+评审以及评审，针对不同情况请仔细选择！(评审功能在后期建设中……)<br />
              (2)请您在上传附件的时候保证所传附件的文件名小于245字节，因为系统会自动为您的附件添加编号，若大于245字节
             则不能保证成功上传！ <br />
              (3)此申报页面现在仅仅限于新专业建设类型，其他类别将会依次建设相应的类型申报模板，抱歉！<br />
              (4) 关于年限问题：您所提交的项目若没有年限的限制，请选择“零年”。
         </p>
    </div>
<center>
    <div style="width:100%; margin-top:15px; width:100%;">
<%--   项目申报警告验证 --%>
        <div style="background-color: #EEE; width:100%; height:550px; margin-top:10px; text-align:center;">
        </div>
        <div style="background: url(../Images/talks-bg-left.png) no-repeat 0% 0%; width:45%; display:block; margin-top:-556px; padding:0px; background-color: #EEE; float:left;">
               <div style="background: url(../Images/talks-bg-right.png) no-repeat 100% 0%; display:block;">
                     <h2 style="background: #F9F9F9 url(../Images/talks-bg.png) repeat-x 0% 100%; display:block; padding: 5px 11px 16px 10px; margin: 0px 20px 20px; font-size: 108%;
                 font-style:normal;">项目基本信息</h2></div>
               <div style="overflow:hidden;">
<table cellpadding="5" cellspacing="0">
        <tr>
            <td style="text-align:right; width:68px;">申报类型：</td>
            <td style="text-align:left;">
                <asp:Label ID="labType" runat="server">无</asp:Label>
                <asp:HiddenField ID="hidden1" runat="server" />
                <asp:HiddenField ID="hidden2" runat="server" />
            </td>
        </tr>
        <tr>
            <td style="text-align:right;width:68px;">
                项目名称：</td>
            <td style="text-align:left;">
                <asp:TextBox ID="txtPName" runat="server" Width="220px" CssClass="easyui-validatebox" required="true" MaxLength="100"></asp:TextBox></td>
        </tr>
    <tr>
   </table> 
  <asp:UpdatePanel ID="UpdatePanel1" runat="server">
    <ContentTemplate> 
   <table cellpadding="5" cellspacing="0">
  <tr>  
        <td style="width: 68px; text-align: right">
            项目级别：</td>
        <td style="text-align: left">
            <asp:DropDownList ID="ddlPLevel" runat="server" Width="153px">
                <asp:ListItem Selected="True" Value="校级">校级</asp:ListItem>
                <asp:ListItem Value="省级">省级</asp:ListItem>
                <asp:ListItem Value="国家级">国家级</asp:ListItem>
            </asp:DropDownList></td>
    </tr>
    <tr>
        <td style="text-align: right;width:68px;">
            评审方式：</td>
        <td style="text-align:left;">
            <asp:DropDownList ID="ddlPWay" runat="server" Width="153px">
                <asp:ListItem Selected="True">申报</asp:ListItem>
                <asp:ListItem>申报+评审</asp:ListItem>
                <asp:ListItem>评审</asp:ListItem>
            </asp:DropDownList></td>
    </tr>
        <tr>
            <td style="text-align:right;width:68px;">
                项目类型：</td>
            <td style="text-align:left;">
                <asp:DropDownList ID="ddlPType" runat="server" Width="153px">
                    <asp:ListItem Selected="True" Value="一般">一般</asp:ListItem>
                    <asp:ListItem>重点</asp:ListItem>
                </asp:DropDownList></td>
        </tr>
    <tr>
        <td style="width: 68px; text-align: right">
            项目性质：</td>
        <td style="text-align: left">
            <asp:DropDownList ID="ddlPNature" runat="server" Width="153px" OnSelectedIndexChanged="ddlPNature_SelectedIndexChanged" AutoPostBack="True">
                <asp:ListItem Value="1">本科</asp:ListItem>
                <asp:ListItem Value="2">专科</asp:ListItem>
            </asp:DropDownList></td>
    </tr>
    <tr>
        <td style="text-align: right;width:68px;">
            教执委：</td>
        <td style="text-align:left;">
            <asp:DropDownList ID="ddlPCommit" runat="server" Width="226px">
            </asp:DropDownList></td>
    </tr>
    <tr>
        <td style="text-align: right;width:68px;">
            学科：</td>
        <td style="text-align:left;">
            <asp:DropDownList ID="ddlSub1" runat="server" AutoPostBack="True" OnSelectedIndexChanged="ddlSub1_SelectedIndexChanged" Width="84px">
            </asp:DropDownList>
            <asp:DropDownList ID="ddlSub2" runat="server" Width="138px">
            </asp:DropDownList></td>
    </tr>
    <tr>
        <td style="text-align: right;width:68px;">
            所在院系：</td>
        <td style="text-align: left">
            <asp:DropDownList ID="ddlPCollege" runat="server" Width="153px">
            </asp:DropDownList></td>
    </tr>
         </table>   
              </ContentTemplate>  
    </asp:UpdatePanel> 
      <table cellpadding="5" cellspacing="0"> 
         <tr>
        <td style="text-align: right;width:68px;">
            专业代码：</td>
        <td style="text-align: left">
            <asp:TextBox ID="txtZCode" runat="server" Width="90px" CssClass="easyui-validatebox" required="true" MaxLength="20"></asp:TextBox></td>
    </tr> 
    <tr>
        <td style="text-align: right;width:68px;">
            年限：</td>
        <td style="text-align: left">
            <asp:DropDownList ID="ddlYearDue" runat="server" Width="70px">
                <asp:ListItem Value="0">无</asp:ListItem>
                <asp:ListItem Value="1">一年</asp:ListItem>
                <asp:ListItem Selected="True" Value="2">两年</asp:ListItem>
                <asp:ListItem Value="3">三年</asp:ListItem>
                <asp:ListItem Value="4">四年</asp:ListItem>
                <asp:ListItem Value="5">五年</asp:ListItem>
            </asp:DropDownList></td>
    </tr>
    <tr>
        <td style="text-align: right;width:68px;">
            备注：</td>
        <td style="text-align: left">
            <asp:TextBox ID="txtBZ" runat="server" Height="60px" TextMode="MultiLine" Width="220px"></asp:TextBox></td>
    </tr>
    </table></div>
        </div>
        <div style="background: url(../Images/talks-bg-left.png) no-repeat 0% 0%; width:45%; display:block; margin-top:-556px; padding:0px; background-color: #EEE; float:right;">
<div style="background: url(../Images/talks-bg-right.png) no-repeat 100% 0%; display:block;">
<h2 style="background: #F9F9F9 url(../Images/talks-bg.png) repeat-x 0% 100%; display:block; padding: 5px 11px 16px 10px; margin: 0px 20px 20px; font-size: 108%;
font-style: normal;">项目其他信息</h2></div>
   <table style="width:100%;">
       <tr><td style="vertical-align:top; padding-top:3px;"><img src="../Images/Warning.png" alt="注意" /></td><td style="text-align:left;"><span>说明：您的项目将通过学院管理员与项目管理员审批，有问题请联系管理员。</span></td></tr> 
   </table>
   <div style="overflow:hidden;">
       <div style="padding:5px;">
        <table cellpadding="0" cellspacing="0" style=" width:100%;">
        <tr>
            <td rowspan="5" style="width: 105px; text-align: right;">
                <asp:Image ID="Image1" runat="server" ImageUrl="~/Images/m11.png" />学院管理员</td>
            <td style="text-align:right;width:68px;">
                姓名：</td>
            <td colspan="3" style="text-align:left;">
                <asp:Label ID="labCName" runat="server">未指定</asp:Label></td>
        </tr>
        <tr>
            <td style="text-align:right;width:68px;">
                院(系)：</td>
            <td colspan="3" style="text-align:left;">
                <asp:Label ID="labCCollege" runat="server">教务处</asp:Label></td>
        </tr>
        <tr>
            <td style="text-align: right;width:68px;">
                电话：</td>
            <td colspan="3" style="text-align: left">
                <asp:Label ID="labCPhone" runat="server">无</asp:Label></td>
        </tr>
        <tr>
            <td style="text-align: right;width:68px;">
                手机：</td>
            <td colspan="3" style="text-align: left">
                <asp:Label ID="labCCell" runat="server">无</asp:Label></td>
        </tr>
        <tr>
            <td style="text-align: right;width:68px;">
                email：</td>
            <td colspan="3" style="text-align: left;">
                <asp:Label ID="labCEmail" runat="server">无</asp:Label></td>
        </tr>
    </table>
         <hr /> 
      </div>  
       <div style="padding:5px;">
        <table cellpadding="0" cellspacing="0" style=" width:100%;">
        <tr>
            <td rowspan="5" style="width: 105px; text-align: right">
                <asp:Image ID="Image2" runat="server" ImageUrl="~/Images/m22.png" />项目管理员</td>
            <td style="text-align:right;width:68px;">
                姓名：</td>
            <td colspan="3" style="text-align:left;">
                <asp:Label ID="labPName" runat="server">未指定</asp:Label></td>
        </tr>
        <tr>
            <td style="text-align:right;width:68px;">
                院(系)：</td>
            <td colspan="3" style="text-align:left;">
                <asp:Label ID="labPCollege" runat="server">教务处</asp:Label></td>
        </tr>
        <tr>
            <td style="text-align: right;width:68px;">
                电话：</td>
            <td colspan="3" style="text-align: left">
                <asp:Label ID="labPPhone" runat="server">无</asp:Label></td>
        </tr>
        <tr>
            <td style="text-align: right;width:68px;">
                手机：</td>
            <td colspan="3" style="text-align: left">
                <asp:Label ID="labPCell" runat="server">无</asp:Label></td>
        </tr>
        <tr>
            <td style="text-align: right;width:68px;">
                email：</td>
            <td colspan="3" style="text-align: left">
                <asp:Label ID="labPEmail" runat="server">无</asp:Label></td>
        </tr>
    </table>
        <hr />  
      </div> 
   </div>
<div style="padding:5px;">
 <table style="width:100%;">
       <tr><td style="vertical-align:top; padding-top:3px;"><img src="../Images/Warning.png" alt="注意" /></td>
       <td style="text-align:left;"><span>注意：允许上传的附件类型为：doc，大小请不要超过4M。您若选择了“待填”，则附件不会被保存。</span></td></tr> 
   </table> 
</div> 
<div style="padding:0px 5px 0px 5px;">
    <table>
        <tr>
            <td>附件：</td>
            <td><asp:FileUpload ID="FileUpload1" runat="server" CssClass="easyui-validatebox" Width="250px" /></td>
        </tr>
        <tr>
             <td>
                 状态：</td>
             <td>
            <asp:RadioButtonList ID="radStatus" runat="server" RepeatDirection="Horizontal">
                <asp:ListItem Value="0">待填</asp:ListItem>
                <asp:ListItem Value="1" Selected="True">待审</asp:ListItem>
            </asp:RadioButtonList></td>
        </tr>
    </table>
</div>
</div>
    </div>
       <div>
    <%-- <asp:UpdatePanel ID="UpdatePanel3" runat="server">  
                <Triggers><asp:PostBackTrigger ControlID="BtnSubmit" /></Triggers>                  
                <ContentTemplate>
            </ContentTemplate>
            </asp:UpdatePanel>  --%>
         <asp:Button ID="BtnSubmit" runat="server" Text="提交" CssClass="btn-dy-blue" OnClick="BtnSubmit_Click" OnClientClick="return check();" />
           <input id="btnAllClear" type="button" value="清空" class="btn-dy-blue" onclick="clearall();" />
       </div> 
</center>
</div>
 </form>
</body>
</html>

